package com.lsy.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author Long
 * @since 2022-02-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("air_quality_index")
@ApiModel(value="Index对象", description="")
public class Index implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "记录编号")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "区域编号")
    @TableField("districtId")
    private Integer districtid;

    @ApiModelProperty(value = "检测时间")
    @TableField("monitorTime")
    private Date monitortime;

    @ApiModelProperty(value = "pm10的值")
    private Integer pm10;

    @ApiModelProperty(value = "pm2.5的值")
    private Integer pm25;

    @ApiModelProperty(value = "监测站")
    @TableField("monitoringStation")
    private String monitoringstation;

    @ApiModelProperty(value = "最后更改时间")
    @TableField("lastModifyTime")
    private Date lastmodifytime;


}
